Are you trying to create this member-range ge-4/0/1 to ge-4/0/22; on the same stack? If yes, then you have to delete member-range ge-4/0/0 to ge-4/0/47; and create one for the remaining interfaces because the range you want to create is a subset of a member of an existing interface-range.
So this is required:
delete interface-range mdf_ports member-range ge-4/0/0 to ge-4/0/47
set interface-range OBHS_Security member-range ge-4/0/1 to ge-4/0/22
set interface-range OBHS_Security unit 0 family ethernet-switching port-mode access vlan members OBHS_Security
set interface-range mdf_ports member-range ge-4/0/23 to ge-4/0/47 unit 0 family ethernet-switching port-mode access vlan members OBHS_MDF
set interface-range mdf_ports member ge-4/0/1 unit 0 family ethernet-switching port-mode access vlan members OBHS_MDF