Fixed issue where (object) typecasting wasn't being applied to the settings page