CSS: Check for snapshot length. Fixed #687