Fixed activity_stream view query creation.
 - Replaced single quotes with double quotes when required.
 - Removed double Create statement.