Fixing condition on get active status method