Fix state attributes in motion pdf.
Merge pull request #541 from normanjaeckel/master

Small fix in the motion app in the PDFs.