CardView: fix if statements checking the wrong things

Signed-off-by: Simon Busch <morphis@gravedo.de>
Merge pull request #55 from webOS-ports/morphis/work

CardView: fix if statements checking the wrong things