CDB-4210 Fixed wrongly sending nil attribute

https://cartodb.atlassian.net/browse/CDB-4210