Fixes bug when no conditions are sent but an empty object is set