fix boolean checks for leave and employment status