Fix for getAttribueAsBool

https://swrvedev.jira.com/browse/SWRVE-6746
Private changes: https://github.com/Swrve/swrve-sdk/pull/743