when no records match the conditions and allow another value instead of null