strpos condition is changed

Fix for #800