Check attributes for non-nil before sending

Boolean values of false were not being sent.