Google Play Services on your device "think" you're sleeping.
Tasker doesn't have any control over how this state is detected. Tasker simply receives events from Google Play Services and relays them back to Tasker and to your profiles.
If this condition doesn't work, please don't blame Tasker or the developer since I really can't control how it works. As such, please use it at your own risk.