Fix BUG #1022 1.3.0

https://github.com/phalcon/cphalcon/issues/1022