If domestic partners or caring partners cease to be in a domestic relationship or registered caring relationship, an application to a court for an order for maintenance cannot be made by a domestic partner or caring partner who, at the time of the application is made—
(a) is in a domestic relationship with another person; or
(b) is in a registered caring relationship with another person; or
(c) has married or remarried.