minor bugfix: corrected logical expression in molecule array