Added two cases to ignore bg commands: multiple '&' signs and when something is written after '&'